from pathlib import Path

currentPath = Path.cwd()
delPath = currentPath / 'python-100'  # 删除该目录，目录文件夹必须为空
delPath.rmdir()
print("删除的目录为:%s" %(delPath))  